package com.vueapi.controller.web;

import com.vueapi.service.HjTagService;
import com.vueapi.utils.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Classname WebTagController
 * @Description TODO
 * @Created by 赵宏建
 * @Date 2022/9/27 11:11
 * @Version 1.0.0
 */
@RestController
@RequestMapping("/web/tag")
public class WebTagController {

    @Resource
    private HjTagService tagService;

    @GetMapping("/getTags")
    public ResultUtils getTags(){
        return tagService.getTags();
    }

}
